package com.iceberg.adgt.domain;

/**
 * @author David
 */
final class StructureMapper {

	private StructureMapper() {

	}

	public static StructureDTO getStructureDTO(Structure structure) {
		StructureDTO dto = new StructureDTO();
		dto.setName(structure.getName());
		dto.setAuthor(structure.getAuthor());
		ArchitectureMapper.getArchitectureDTO(structure.getArchitecture());
		return dto;
	}

}
